package com.clwl.supervise.superviseapp.entity.scan;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
    * 非法添加剂
    */
@Data
@TableName(value = "S_ILLEGAL_ADDITIVES")
public class SIllegalAdditives implements Serializable {

    @TableId(value = "ID", type = IdType.AUTO)
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    @TableField(value = "DELETE_FLAG")
    private String deleteFlag;

    @TableField(value = "CREATE_TIME")
    private Date createTime;

    /**
     * 可能添加的食品品种，多个、号隔开
     */
    @TableField(value = "VARIETIES")
    private String varieties;

    /**
     * 检测方法
     */
    @TableField(value = "TEST_METHOD")
    private String testMethod;

    /**
     * 添加剂名称
     */
    @TableField(value = "ADDITIVES_NAME")
    private String additivesName;

    private static final long serialVersionUID = 1L;
}
